﻿using System;

namespace OOP
{
    class Program
    {
        static void Main(string[] args)
        {
            // 1 Player
            string firstName = "John";
            string lastName = "Smith";
            string nickName = "john.smith";
            int score = 155;

            // n Players
            int n = 100;

            string[] firstNames = new string[n];
            string[] lastNames = new string[n];
            string[] nickNames = new string[n];
            int[] scores = new int[n];

            for (int i = 0; i < n; i++)
            {
                firstNames[i] = "";
                lastNames[i] = "";
                nickNames[i] = "";
                scores[i] = 0;
            }

            // 1 Player
            Player player1 = new Player();
            player1.firstName = "John";
            player1.lastName = "Smith";
            player1.score = 155;

            Console.WriteLine(player1.firstName);
            Console.WriteLine(player1.GetNickName());

            Player player2 = new Player();
            player2.firstName = "Bob";
            player2.lastName = "Marley";
            player2.score = 200;

            Console.WriteLine(player2.GetNickName());
            Console.WriteLine(player2.score);

            Random hey = new Random();
            hey.Next(1, 10);

            // n Player
            Player[] players = new Player[n];

            for (int i = 0; i < n; i++)
            {
                players[i] = new Player();
                players[i].firstName = "";
                players[i].lastName = "";
                players[i].score = 0;
            }

            Console.ReadKey();
        }
    }
}
